package com.example.glxt1.exeception;


/**
 *自定义异常
 * **/
public class ServiceException extends RuntimeException {
    private String code;
    public  ServiceException(String  code,String msg){
        super(msg);
        this.code=code;
    }
    public  ServiceException(){ }

    public String getCode() {
        return code;
    }
}
